.container {
    background-color: #F4F4F4;
    height: 100%;

    .top {
        display: flex;
        justify-content: space-around;
        align-items: center;
        background: #E64A49;
        height: 3rem;

        .logo {
            width: 8%;
        }

        .search {
            box-sizing: border-box;
            width: 80%;
            height: 2rem;
            background-color: white;
            border-radius: 1rem;
            display: flex;
            align-items: center;
            padding: 0 .4rem;

            .search-icon,
            .notice-icon {
                display: flex;
                align-items: center;
            }

            .notice-icon {
                flex-grow: 1;
                justify-content: flex-end;
            }

            opacity: .8;

            .search-text {
                font-size: .8rem;
                margin-left: .5rem;
            }
        }
    }


    .content {
        // padding: .6rem;
        // overflow: visible;
        height: calc(100% - 3rem);
        overflow: auto;

        .radian {
            height: 5.6rem;
            background: #E64A49;
            position: relative;



            &::after {
                content: '';
                display: block;
                position: absolute;
                bottom: 0;
                // z-index: -1;
                background: #E64A49;
                width: 100%;
                height: 5rem;
                border-radius: 50%;
                transform: translateY(50%)
            }
        }

        .swipeDiv {
            // position: absolute;
            // top: 3rem;
            margin: -5.5rem auto 0;
            // left: 50%;
            width: 90%;
            border-radius: .75rem;
            box-sizing: content-box;
            // transform: translateX(-50%);
            // border-radius: .75rem;

            // overflow: hidden;

            .van-swipe {
                border-radius: .75rem;

                .swipe-img {
                    display: block;
                    width: 100%;
                    // box-shadow: 1px 1px 2px #888888;
                    border-radius: .75rem;
                }
            }
        }

        .main-content {
            padding: .4rem;

            .cateSwipe {

                border-radius: .75rem;
                background-color: white;

                .cate {
                    display: flex;

                    li {
                        flex-grow: 1;
                        flex-basis: 0;
                        // display: flex;

                        .cate-img {
                            border-radius: .75rem;
                            max-width: 100%;
                            height: auto !important;
                        }
                    }
                }
            }

            .crowd {
                margin-top: .5rem;
                background-color: white;
                border-radius: .5rem;

                .heat-icon {
                    width: .9rem;
                }

                .goldren {
                    color: rgb(238, 136, 66)
                }

                .progress {
                    margin-top: .25rem;
                    height: .25rem;
                    border-radius: .2rem;
                    background-image: linear-gradient(to right, rgb(255, 200, 102), rgb(255, 88, 27));
                }


                .progress-desc {
                    display: flex;
                    align-items: center;

                    img {
                        margin-right: .2rem;
                    }

                    font-size: .6rem;
                }

                .crowd-title {
                    border-radius: .5rem .5rem 0 0;
                    background: url(https://img.youpin.mi-img.com/jianyu/efaf252fb1ef07bb22395bc3649a127d.png?w=1053&h=180) no-repeat 0% 100%/cover;
                    display: flex;
                    justify-content: space-between;
                    padding: .5rem .4rem;

                    b {
                        font-size: .9rem;
                    }

                    .more {

                        color: rgb(153, 153, 153);
                        font-size: .75rem;
                    }
                }

                .crowd-content {
                    padding: 0 .5rem 0.2rem;

                    .crowd-main {
                        display: flex;

                        .detail {
                            width: 68%;

                            .detail-title {
                                font-size: .8rem;
                                margin-bottom: .2rem;
                            }

                            .detail-desc {
                                color: rgb(125, 68, 2);
                                font-size: .7rem;
                                margin-bottom: .2rem;
                            }

                            .detail-price {
                                font-size: .75rem;
                                color: rgb(254, 31, 29);
                            }
                        }

                        .detail-image {
                            width: 32%;

                            img {
                                width: 98%;
                                display: block;
                            }
                        }
                    }

                    // .crowd-footer {}
                }

                .crowd-two {
                    display: flex;
                    padding: 0 0.5rem 0.5rem;
                    justify-content: space-between;

                    li {
                        width: 49%;

                        .two-main {
                            display: flex;
                            padding-top: .1rem;

                            .two-main-left {
                                width: 65%;
                                color: rgb(254, 31, 29);
                                font-size: .8rem;
                            }

                            .two-main-right {
                                width: 35%;

                                img {
                                    display: block;
                                    width: 95%;
                                }
                            }
                        }

                        .crowd-two-name {
                            font-size: .7rem;
                        }
                    }

                }
            }

            .nav {
                margin-top: .75rem;
                display: flex;
                position: sticky;
                top: 1rem;
                overflow-x: auto;
                width: 100%;

                &::-webkit-scrollbar {
                    display: none;
                }

                li {
                    text-align: center;
                    width: 25%;
                    box-sizing: border-box;
                    flex-shrink: 0;
                    font-size: .8rem;
                    font-weight: bold;
                }

                a {
                    display: block;
                    position: relative;
                    padding: .25rem 0;
                    color: black;
                }

                .active {
                    color: rgb(195, 13, 35);

                    &::after {
                        position: absolute;
                        bottom: 0;
                        margin: .2rem auto 0;
                        left: 0;
                        right: 0;
                        content: '';
                        display: block;
                        height: .15rem;
                        width: .8rem;
                        background-color: rgb(195, 13, 35);
                    }
                }

                li+li {
                    border-left: 1px solid rgb(226, 226, 226);
                }
            }

            .list {
                margin-top: .5rem;

                ul {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;

                    li {
                        background-color: white;
                        width: 49%;
                        height: auto !important;
                        box-sizing: border-box;
                        border-radius: .75rem;
                        flex-shrink: 0;
                        font-size: .75rem;

                        img {
                            border-radius: .75rem .75rem 0 0;
                            display: block;
                            width: 100%;
                        }

                        .item-detail {
                            padding: .2rem .4rem .4rem;

                            .item-name {
                                font-size: .75rem;
                            }

                            .item-desc {
                                opacity: .6;
                                margin: .1rem 0;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                font-size: .6rem;
                            }

                            .item-price {
                                color: rgb(227, 13, 13);

                                del {
                                    color: gray;
                                    opacity: .9;
                                }
                            }
                        }

                    }
                }

            }
        }

    }















    .cateGrid {
        margin: 6px;
        box-shadow: 1px 1px 5px #888888;
        border-radius: 10px;
        display: flex;
        flex-wrap: wrap;

        li {
            flex-grow: 1;
            text-align: center;

            img {
                width: 72px;
                height: 76px;
            }
        }
    }

    .ad {
        margin: 0 6px;
        width: auto;
        border-radius: 10px;
        box-shadow: 1px 1px 5px #888888;

        img {
            width: 100%;
        }
    }

    .boxList {
        ul {
            display: flex;
            box-shadow: 1px 1px 5px #888888;
            border-radius: 10px;
            margin: 5px;

            li {
                margin: 5px;
                flex-grow: 1;
                text-align: center;

                // padding: 2px;
                // border: 1px solid red;
                .name,
                .desc,
                .price {
                    display: block;
                }

                .name {
                    font-size: 18px;
                }

                .desc {
                    color: rgba(0, 0, 0, .54);
                    font-size: 14px;

                }

                .price {
                    font-size: 16px;
                    color: #ea625b;
                }

                img {
                    display: inline-block;
                    width: 98%;
                }

                .buyBtn {
                    background-color: #ea625b;
                    border: none;
                    color: white;
                    padding: 6px 12px;
                    margin-bottom: 6px;
                }

            }
        }

    }

    .footer {
        width: auto;
        margin: -5px 2px 20px 2px;

        img {
            width: 100%;
            display: block;
        }
    }
}